package com.sales.util;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * Created by lihu on 2017/9/11.
 */
@Component
public class GatewayUrlUtil {

    @Value("${gateway.address}")
    private String address;

    /**
     * 获取店铺信息
     *
     * @return
     */
    public String getStords() {
        String url = address + "/v1/sales/stores";
        return url;
    }

}
